import { createRouter, createWebHistory } from "vue-router";
import indexPage from "@/views/IndexPage";

const routes = [
  {
    path: "/index",
    redirect: indexPage
  },
  {
    path: "/",
    name: "indexPage",
    component: indexPage,
  },

];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
